package demo.mapper;

import demo.pojo.Teacher;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface TeacherMapper {
    @Select("SELECT * FROM teacher ")
    List<Teacher> findAll();
}
